package com.sl.au.entity;


import java.util.Date;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 合同联合实体视图
 */
@Entity
@Table(name = "ContractInfoView")
public class ContractInfoView {
	
	/** 合同ID */
	@Id
	private java.lang.String contractId;
	/** 创建时间 */
	private java.util.Date createTime;
	/** 更新时间 */
	private java.util.Date updateTime;
	/** 供方合同编号 */
	private java.lang.String supplierCode;
	/** 需方合同编号 */
	private java.lang.String demanderCode;
	/** 项目编号 */
	private java.lang.String projectCode;
	/** 维修合同编号 */
	private java.lang.String repairCode;
	/** 返修次数 */
	private java.lang.Integer repairNumber;
	/** 返修类别 */
	private java.lang.String repairKind;
	/** 返厂日期 */
	private java.util.Date repairDate;
	/** 合同名称 */
	private java.lang.String name;
	/** 合同类型 */
	private java.lang.String contractType;
	/** 总价 */
	private double totalSum;
	/** 签订日期 */
	private java.util.Date signedDate;
	/** 排产日期 */
	private java.util.Date scheduleDate;
	/** 交货日期 *//*
	private java.util.Date giveOutDate;
	*//** 发货日期（多次） *//*
	private java.util.Date deliveryDate;
	*//** 调试完成日期（多次） *//*
	private java.util.Date debugDate;
	*//** 验收日期（多次） *//*
	private java.util.Date acceptanceDate;
	*//** 货物到站 *//*
	private java.lang.String stop;
	*//** 运费支付 *//*
	private String freightCharge;*/
	/** 项目名称 */
	private java.lang.String projectName;
	/** 付款方式 */
	/*private java.lang.String payType;
	*//** 质保期限 *//*
	private java.lang.String guaranteePeriod;
	*//** 违约责任 *//*
	private java.lang.String breakDuty;
	*//** 订货单位ID*/
	private java.lang.String customerId;
	/** 订货单位 */
	private java.lang.String orderUnit;
	/** 订货代表 *//*
	private java.lang.String orderDelegate;
	/** 订货号码 *//*
	private java.lang.String orderPhone;*/
	/** 行业信息 */
	private java.lang.String industryInfo;
	/** 订货地址 */
	/*private java.lang.String orderAddress;
	*//** 订货邮编 *//*
	private String orderZip;*/
	/** 订货片区 */
	private java.lang.String orderArea;
	/** 开票地址 */
	/*private String invoiceAddress;
	*//** 开票银行 *//*
	private String invoiceBank;
	*//** 银行账号 *//*
	private String bankAccount;
	*//** 税号 *//*
	private String taxNumber;
	*//** 邮寄单位 *//*
	private java.lang.String postUnit;
	*//** 邮寄代表 *//*
	private java.lang.String postDelegate;
	*//** 邮寄号码 *//*
	private java.lang.String postPhone;
	*//** 邮寄地址 *//*
	private java.lang.String postAddress;
	*//** 邮寄邮编 *//*
	private String postZip;*/
	/** 责任区域 */
	private java.lang.String dutyArea;
	/** 责任人 */
	private java.lang.String dutyOfficer;
	/** 南北片区 */
	private java.lang.String southNorthArea;
	/** 所属版块 */
	private java.lang.String belongArea;
	/** 考核分类 */
	private java.lang.String checkKind;
	/** 产品分类 */
	private java.lang.String productKind;
	/** 合同签订人 */
	private java.lang.String signOfficer;
	/** 维修协议人 */
	private java.lang.String repairOfficer;
	/** 报价人 */
	private java.lang.String quotationOfficer;
	/** 经办部门 */
	private java.lang.String operatDepartment;
	/** 经办人 */
	private java.lang.String operator;
	/** 经办日期 */
	private java.util.Date operatDate;
	/** 备注 */
	private java.lang.String memo;
	
	private Integer nFinishCount;
	private Integer nRKCount;
	private Integer nPCCount;
	private Integer nTotalCount;
	private String sczt;
	
	public String getSczt() {
		return sczt;
	}
	public void setSczt(String sczt) {
		this.sczt = sczt;
	}
	public Integer getnFinishCount() {
		return nFinishCount;
	}
	public void setnFinishCount(Integer nFinishCount) {
		this.nFinishCount = nFinishCount;
	}
	public Integer getnRKCount() {
		return nRKCount;
	}
	public void setnRKCount(Integer nRKCount) {
		this.nRKCount = nRKCount;
	}
	public Integer getnPCCount() {
		return nPCCount;
	}
	public void setnPCCount(Integer nPCCount) {
		this.nPCCount = nPCCount;
	}
	public Integer getnTotalCount() {
		return nTotalCount;
	}
	public void setnTotalCount(Integer nTotalCount) {
		this.nTotalCount = nTotalCount;
	}
	
	/** 审批流程是否已经结束 */
	private Boolean isFinished;
	/**
	 * 回款总金额
	 */
	private Float Payment;
	/**
	 * 账面余额
	 */
	private Float balance;
	/**
	 * 应收款
	 */
	private Float receivable;

	public Float getPayment() {
		return Payment;
	}
	public void setPayment(Float payment) {
		Payment = payment;
	}
	public Float getBalance() {
		return balance;
	}
	public void setBalance(Float balance) {
		this.balance = balance;
	}
	public Float getReceivable() {
		return receivable;
	}
	public void setReceivable(Float receivable) {
		this.receivable = receivable;
	}
	@Temporal(TemporalType.TIMESTAMP)
    private Date startDate;

    @Temporal(TemporalType.TIMESTAMP)
    private Date finishDate;

    /** 最终审批状态 */
    private String auditState;
    
	/** 最终审批消息或意见 */
    private String auditMsg;
    
    /** 审批流程实例ID */
    private String processInstId;
    
    /** 实体创建者 */
    private String creator;
    
    /** 创建者Id */
    private String userId;
    
    /** 所属部门 */
    private String superior;
    
    /** 所属片区 */
    private String areaName;
	
    public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getSuperior() {
		return superior;
	}
	public void setSuperior(String superior) {
		this.superior = superior;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	/** 维护时间 */
	/*private java.util.Date servicingTime;*/
	/** 状态 */
	private java.lang.String state;

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	/*public Date getServicingTime() {
		return servicingTime;
	}

	public void setServicingTime(Date servicingTime) {
		this.servicingTime = servicingTime;
	}*/

	@Id
	public java.lang.String getContractId() {
		return contractId;
	}
	public void setContractId(java.lang.String contractId) {
		this.contractId = contractId;
	}
	public java.util.Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}

	public java.lang.String getSupplierCode() {
		return supplierCode;
	}
	public void setSupplierCode(java.lang.String supplierCode) {
		this.supplierCode = supplierCode;
	}
	public java.lang.String getDemanderCode() {
		return demanderCode;
	}
	public void setDemanderCode(java.lang.String demanderCode) {
		this.demanderCode = demanderCode;
	}
	public java.lang.String getContractType() {
		return contractType;
	}
	public void setContractType(java.lang.String contractType) {
		this.contractType = contractType;
	}
	public double getTotalSum() {
		return totalSum;
	}
	public void setTotalSum(double totalSum) {
		this.totalSum = totalSum;
	}
	public java.util.Date getSignedDate() {
		return signedDate;
	}
	public void setSignedDate(java.util.Date signedDate) {
		this.signedDate = signedDate;
	}
	public java.util.Date getScheduleDate() {
		return scheduleDate;
	}
	public void setScheduleDate(java.util.Date scheduleDate) {
		this.scheduleDate = scheduleDate;
	}
/*	public java.util.Date getGiveOutDate() {
		return giveOutDate;
	}
	public void setGiveOutDate(java.util.Date giveOutDate) {
		this.giveOutDate = giveOutDate;
	}
	public java.util.Date getDeliveryDate() {
		return deliveryDate;
	}
	public void setDeliveryDate(java.util.Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}
	public java.util.Date getDebugDate() {
		return debugDate;
	}
	public void setDebugDate(java.util.Date debugDate) {
		this.debugDate = debugDate;
	}
	public java.util.Date getAcceptanceDate() {
		return acceptanceDate;
	}
	public void setAcceptanceDate(java.util.Date acceptanceDate) {
		this.acceptanceDate = acceptanceDate;
	}
	public java.lang.String getStop() {
		return stop;
	}
	public void setStop(java.lang.String stop) {
		this.stop = stop;
	}
	public String getFreightCharge() {
		return freightCharge;
	}
	public void setFreightCharge(String freightCharge) {
		this.freightCharge = freightCharge;
	}
*/	public java.lang.String getProjectName() {
		return projectName;
	}
	public void setProjectName(java.lang.String projectName) {
		this.projectName = projectName;
	}
	/*public java.lang.String getPayType() {
		return payType;
	}
	public void setPayType(java.lang.String payType) {
		this.payType = payType;
	}
	public java.lang.String getGuaranteePeriod() {
		return guaranteePeriod;
	}
	public void setGuaranteePeriod(java.lang.String guaranteePeriod) {
		this.guaranteePeriod = guaranteePeriod;
	}
	public java.lang.String getBreakDuty() {
		return breakDuty;
	}
	public void setBreakDuty(java.lang.String breakDuty) {
		this.breakDuty = breakDuty;
	}*/
	public java.lang.String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(java.lang.String customerId) {
		this.customerId = customerId;
	}

	public java.lang.String getOrderUnit() {
		return orderUnit;
	}
	public void setOrderUnit(java.lang.String orderUnit) {
		this.orderUnit = orderUnit;
	}
	/*public java.lang.String getOrderDelegate() {
		return orderDelegate;
	}
	public void setOrderDelegate(java.lang.String orderDelegate) {
		this.orderDelegate = orderDelegate;
	}
	public java.lang.String getOrderPhone() {
		return orderPhone;
	}
	public void setOrderPhone(java.lang.String orderPhone) {
		this.orderPhone = orderPhone;
	}*/
	public java.lang.String getIndustryInfo() {
		return industryInfo;
	}
	public void setIndustryInfo(java.lang.String industryInfo) {
		this.industryInfo = industryInfo;
	}
	/*public java.lang.String getOrderAddress() {
		return orderAddress;
	}
	public void setOrderAddress(java.lang.String orderAddress) {
		this.orderAddress = orderAddress;
	}
	public String getOrderZip() {
		return orderZip;
	}
	public void setOrderZip(String orderZip) {
		this.orderZip = orderZip;
	}*/
	public java.lang.String getOrderArea() {
		return orderArea;
	}
	public void setOrderArea(java.lang.String orderArea) {
		this.orderArea = orderArea;
	}
	/*public String getInvoiceAddress() {
		return invoiceAddress;
	}
	public void setInvoiceAddress(String invoiceAddress) {
		this.invoiceAddress = invoiceAddress;
	}
	public String getInvoiceBank() {
		return invoiceBank;
	}
	public void setInvoiceBank(String invoiceBank) {
		this.invoiceBank = invoiceBank;
	}
	public String getBankAccount() {
		return bankAccount;
	}
	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}
	public String getTaxNumber() {
		return taxNumber;
	}
	public void setTaxNumber(String taxNumber) {
		this.taxNumber = taxNumber;
	}
	public java.lang.String getPostUnit() {
		return postUnit;
	}
	public void setPostUnit(java.lang.String postUnit) {
		this.postUnit = postUnit;
	}
	public java.lang.String getPostDelegate() {
		return postDelegate;
	}
	public void setPostDelegate(java.lang.String postDelegate) {
		this.postDelegate = postDelegate;
	}
	public java.lang.String getPostPhone() {
		return postPhone;
	}
	public void setPostPhone(java.lang.String postPhone) {
		this.postPhone = postPhone;
	}
	public java.lang.String getPostAddress() {
		return postAddress;
	}
	public void setPostAddress(java.lang.String postAddress) {
		this.postAddress = postAddress;
	}
	public String getPostZip() {
		return postZip;
	}
	public void setPostZip(String postZip) {
		this.postZip = postZip;
	}*/
	public java.lang.String getDutyArea() {
		return dutyArea;
	}
	public void setDutyArea(java.lang.String dutyArea) {
		this.dutyArea = dutyArea;
	}
	public java.lang.String getDutyOfficer() {
		return dutyOfficer;
	}
	public void setDutyOfficer(java.lang.String dutyOfficer) {
		this.dutyOfficer = dutyOfficer;
	}
	public java.lang.String getSouthNorthArea() {
		return southNorthArea;
	}
	public void setSouthNorthArea(java.lang.String southNorthArea) {
		this.southNorthArea = southNorthArea;
	}
	public java.lang.String getBelongArea() {
		return belongArea;
	}
	public void setBelongArea(java.lang.String belongArea) {
		this.belongArea = belongArea;
	}
	public java.lang.String getCheckKind() {
		return checkKind;
	}
	public void setCheckKind(java.lang.String checkKind) {
		this.checkKind = checkKind;
	}
	public java.lang.String getProductKind() {
		return productKind;
	}
	public void setProductKind(java.lang.String productKind) {
		this.productKind = productKind;
	}
	public java.lang.String getSignOfficer() {
		return signOfficer;
	}
	public void setSignOfficer(java.lang.String signOfficer) {
		this.signOfficer = signOfficer;
	}
	public java.lang.String getRepairOfficer() {
		return repairOfficer;
	}
	public void setRepairOfficer(java.lang.String repairOfficer) {
		this.repairOfficer = repairOfficer;
	}
	public java.lang.String getQuotationOfficer() {
		return quotationOfficer;
	}
	public void setQuotationOfficer(java.lang.String quotationOfficer) {
		this.quotationOfficer = quotationOfficer;
	}
	public java.lang.String getOperatDepartment() {
		return operatDepartment;
	}
	public void setOperatDepartment(java.lang.String operatDepartment) {
		this.operatDepartment = operatDepartment;
	}
	public java.lang.String getOperator() {
		return operator;
	}
	public void setOperator(java.lang.String operator) {
		this.operator = operator;
	}
	public java.util.Date getOperatDate() {
		return operatDate;
	}
	public void setOperatDate(java.util.Date operatDate) {
		this.operatDate = operatDate;
	}
	public java.lang.String getMemo() {
		return memo;
	}
	public void setMemo(java.lang.String memo) {
		this.memo = memo;
	}
	
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getFinishDate() {
		return finishDate;
	}

	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public String getAuditState() {
		return auditState;
	}

	public void setAuditState(String auditState) {
		this.auditState = auditState;
	}

	public String getAuditMsg() {
		return auditMsg;
	}

	public void setAuditMsg(String auditMsg) {
		this.auditMsg = auditMsg;
	}

	public String getProcessInstId() {
		return processInstId;
	}

	public void setProcessInstId(String processInstId) {
		this.processInstId = processInstId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public java.lang.String getName() {
		return name;
	}
	public void setName(java.lang.String name) {
		this.name = name;
	}
	public java.lang.String getProjectCode() {
		return projectCode;
	}
	public void setProjectCode(java.lang.String projectCode) {
		this.projectCode = projectCode;
	}
	public java.lang.String getRepairCode() {
		return repairCode;
	}
	public void setRepairCode(java.lang.String repairCode) {
		this.repairCode = repairCode;
	}
	public java.lang.Integer getRepairNumber() {
		return repairNumber;
	}
	public void setRepairNumber(java.lang.Integer repairNumber) {
		this.repairNumber = repairNumber;
	}
	public java.lang.String getRepairKind() {
		return repairKind;
	}
	public void setRepairKind(java.lang.String repairKind) {
		this.repairKind = repairKind;
	}
	public java.util.Date getRepairDate() {
		return repairDate;
	}
	public void setRepairDate(java.util.Date repairDate) {
		this.repairDate = repairDate;
	}
	public Boolean getIsFinished() {
		return isFinished;
	}
	public void setIsFinished(Boolean isFinished) {
		this.isFinished = isFinished;
	}
	
	
	
}
	
	

